<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login Merchant System</title>
<style type="text/css">
body {
	background-color: #e0dfdf; margin : 0;
	padding: 0;
	margin: 0;
}

#content {
	background-color: rgb(255, 255, 255, 0.95);
	width: 420px;
	height: 300px;
	border: 1.5px solid #000000;
	border-radius: 6px;
	padding: 10px;
	margin-top: 15%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.login-header {
	width: 100%;
	height: 48px;
	margin-bottom: 20px;
	border-bottom: 2px solid #a0a0a0;
}

.login-header img {
	width: 65px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.login-input-box {
	margin-top: 12px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: inline-block;
}

.login-input-box input {
	width: 340px;
	height: 32px;
	margin-left: 18px;
	border: 1px solid #dcdcdc;
	border-radius: 4px;
	padding-left: 42px;
}

.login-input-box input:hover {
	border: 1px solid #ff7d0a;
}

.login-input-box input:after {
	border: 1px solid #ff7d0a;
}

.login-button-box {
	margin-top: 30px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: inline-block;
}

.login-button-box input {
	background-color: #ff7d0a;
	color: #ffffff;
	font-size: 16px;
	width: 386px;
	height: 40px;
	margin-left: 18px;
	border: 1px solid #ff7d0a;
	border-radius: 4px;
}

.login-button-box input:hover {
	background-color: #ee7204;
}

.login-button-box input:active {
	background-color: #ee7204;
}

.logon-box {
	margin-top: 20px;
	text-align: center;
}

.logon-box a {
	margin: 30px;
	color: #4a4744;
	font-size: 13px;
	text-decoration: none;
}

.logon-box a:hover {
	color: #ff7d0a;
}

.logon-box a:active {
	color: #ee7204;
}
</style>
</head>
<body>

	<div id="content">
		<div class="login-header">
			<img src="logo.png" height="40px">
		</div>
		<form action="login" method="post">
			<div class="login-input-box">
				<span class="icon icon-user"></span> <input type="text" name="cname"
					placeholder="UserName" /><span style="color: red">${nameMsg }</span>
			</div>
			<div class="login-input-box">
				<span class="icon icon-password"></span> <input type="password"
					name="pwd" placeholder="Password" /><span style="color: red">${pwdMsg }</span>
			</div>
			<div class="login-button-box">
				<input type="submit" value="Login" />
			</div>
			<div class="logon-box">
				<a href="register.jsp">Register</a>
			</div>
		</form>
	</div>
</body>
</html>